package com.bwda.dsrs.systemservice.domain.vo.org;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 组织表
 *
 * @author youzhen
 * @date 2019年4月28日
 */
@Data
@ApiModel(description = "组织用户表")
public class CustomOrgUserTreeVo {

    @ApiModelProperty(value = "组织编码")
    private String id;

    @ApiModelProperty(value = "组织编码")
    private String orgCode;

    @ApiModelProperty(value = "组织名称")
    private String orgName;

    @ApiModelProperty(value = "上级ID")
    private Integer parentId;

    @ApiModelProperty(value = "用户")
    private int userId;

    @ApiModelProperty(value = "用户code")
    private String userCode;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    private String name;

    @ApiModelProperty(value = "tree")
    private List<CustomOrgUserTreeVo> children;
}